package control;

import dao.CityMapper;
import entity.City;
import entity.Country;
import org.apache.ibatis.session.SqlSession;
import service.CountryService;
import serviceImpl.CountryServiceImpl;
import util.DaoUtil;

/**
 * ClassName:Test
 * Package:control
 *
 * @date:2021/11/1 7:31 下午
 * @author: Tiangle
 */
public class Test {
    public static void main(String[] args) {
        CountryService cs = new CountryServiceImpl();
        City city = cs.getCity(1);
        Country chn = cs.getCountry("CHN");
//        System.out.println(city);
//        System.out.println();
        System.out.println(chn);
    }
}
